package com.gym.dao;

import com.gym.pojo.Equipmentupkeep;

import java.util.List;

public interface EquipmentupkeepDao {

    /*
    * 查询全部器材维修信息
    * */
    public List<Equipmentupkeep> selAllUpKeep(String equname,String start,String end);

    /*
    * 查询全部器材维修信息数量
    * */
    public Integer selRepairCount(String equname,String start,String end);

    /**
     * 添加器材维修信息
     * @param equipmentupkeep
     * @return
     */
    public Integer addEquRepair(Equipmentupkeep equipmentupkeep);

    /*
    * 修改器材维修信息
    * */
    public Integer updateEquRepair(Equipmentupkeep equipmentupkeep);

    /*
    * 删除器材维修信息
    * */
    public Integer delEquRepair(Integer equkeepid);


}
